import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导出常用的全局样式
import '@/style/common.less'
import component from '@/components'
import { directivePlugin } from '@/directives'
// // 测试requet
// import request from '@/utils/request'

// console.log(request('/test', 'get', { name: 'cp' }))
// request('/test', 'get', { name: 'cp' }).then(res => {
//   console.log(res)
// })
createApp(App).use(store).use(router).use(component).use(directivePlugin).mount('#app')
